package com.ruoyi.grape.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 预警历史信息对象 tb_grape_warning
 * 
 * @author ld
 * @date 2023-11-18
 */
public class GrapeWarning extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预警编号 */
    private Long warningId;

    /** 和风预警id */
    @Excel(name = "和风预警id")
    private String warningCode;

    /** 预警标题 */
    @Excel(name = "预警标题")
    private String warningTitle;

    /** 开始时间 */
    @Excel(name = "开始时间")
    private String warningStarttime;

    /** 结束时间 */
    @Excel(name = "结束时间")
    private String warningEndtime;

    /** 发布状态 */
    @Excel(name = "发布状态")
    private String warningStatus;

    /** 预警等级 */
    @Excel(name = "预警等级")
    private String warningSeverity;

    /** 预警类型 */
    @Excel(name = "预警类型")
    private String warningType;

    /** 预警类型名称 */
    @Excel(name = "预警类型名称")
    private String warningTypename;

    /** 详细描述 */
    @Excel(name = "详细描述")
    private String warningText;

    /** 备注 */
    @Excel(name = "备注")
    private String warningNote;

    public void setWarningId(Long warningId) 
    {
        this.warningId = warningId;
    }

    public Long getWarningId() 
    {
        return warningId;
    }
    public void setWarningCode(String warningCode) 
    {
        this.warningCode = warningCode;
    }

    public String getWarningCode() 
    {
        return warningCode;
    }
    public void setWarningTitle(String warningTitle) 
    {
        this.warningTitle = warningTitle;
    }

    public String getWarningTitle() 
    {
        return warningTitle;
    }
    public void setWarningStarttime(String warningStarttime) 
    {
        this.warningStarttime = warningStarttime;
    }

    public String getWarningStarttime() 
    {
        return warningStarttime;
    }
    public void setWarningEndtime(String warningEndtime) 
    {
        this.warningEndtime = warningEndtime;
    }

    public String getWarningEndtime() 
    {
        return warningEndtime;
    }
    public void setWarningStatus(String warningStatus) 
    {
        this.warningStatus = warningStatus;
    }

    public String getWarningStatus() 
    {
        return warningStatus;
    }
    public void setWarningSeverity(String warningSeverity) 
    {
        this.warningSeverity = warningSeverity;
    }

    public String getWarningSeverity() 
    {
        return warningSeverity;
    }
    public void setWarningType(String warningType) 
    {
        this.warningType = warningType;
    }

    public String getWarningType() 
    {
        return warningType;
    }
    public void setWarningTypename(String warningTypename) 
    {
        this.warningTypename = warningTypename;
    }

    public String getWarningTypename() 
    {
        return warningTypename;
    }
    public void setWarningText(String warningText) 
    {
        this.warningText = warningText;
    }

    public String getWarningText() 
    {
        return warningText;
    }
    public void setWarningNote(String warningNote) 
    {
        this.warningNote = warningNote;
    }

    public String getWarningNote() 
    {
        return warningNote;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("warningId", getWarningId())
            .append("warningCode", getWarningCode())
            .append("warningTitle", getWarningTitle())
            .append("warningStarttime", getWarningStarttime())
            .append("warningEndtime", getWarningEndtime())
            .append("warningStatus", getWarningStatus())
            .append("warningSeverity", getWarningSeverity())
            .append("warningType", getWarningType())
            .append("warningTypename", getWarningTypename())
            .append("warningText", getWarningText())
            .append("warningNote", getWarningNote())
            .toString();
    }
}
